package com.yourenbang.transaction.api.model.dto.pay;

import com.yourenbang.lingyun.core.util.json.ToJSON;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
public class KlksWithDrawDTO implements Serializable, ToJSON {

    @Pattern(regexp = "^(([1-9]{1}\\d*)|([0]{1}))(\\.(\\d){0,2})?$", message = "请输入合法金额")
    private String amt;

    @NotBlank(message = "快收用户id不可空")
    private String klksUserId;

    @NotBlank(message = "提现支付类型不可空")
    private String withdrawPayType;

    @NotBlank(message = "提现类型不可空")
    private String withdrawType;

    /**
     * 第三方账户（卡号、支付宝账号）
     */
    @NotBlank(message = "第三方账户不可空")
    private String thirdAccount;

}
